import {request} from "../util/request";

export function teacherGet(data) { // 显示老师信息
    return request( '/api/teacher/get', data, 'get')
}
export function teacherDelete(data) { // 删除老师信息
    return request( '/api/teacher/delete', data, 'get')
}
export function teacherModify(data) { // 修改老师信息
    return request( '/api/teacher/modify', data, 'post')
}
// export function teacherQuery(data) { // 查询某个老师信息
//     return request( '/api/teacher/query', data, 'post')
// }
export function teacherInfo(data) {//获取老师详细信息
    return request( '/api/teacher/get/teacherInfo', data, 'get')
}
export function deleteTeacher(data) { // 批量删除
    return request( '/api/teacher/delete', data, 'post')
}